package me.joshua.tools4j.dal;

import java.util.List;

import me.joshua.tools4j.model.Subscription;

import org.springframework.data.jpa.repository.JpaRepository;

public interface SubscriptionRepository extends JpaRepository<Subscription, Integer> {

	public Subscription findByName(String name);
	
	public List<Subscription> findByEnabled(Boolean enabled);
}
